package com.lmscn.lms.api.model;

import java.util.Date;

/**
 * 学习档案：学习计划考试记录
 * @author Administrator
 *
 */
public class StudyFileStudyPlanExamRecord {
	
	private Long examId;
	private String examName;
	private Long studentId;
	private Long studyPlanId;
	private String status;
	private Date submitTime;
	private Integer examScore;
	private Float coursePeriod;
	
	public Float getCoursePeriod() {
		return coursePeriod;
	}
	public void setCoursePeriod(Float coursePeriod) {
		this.coursePeriod = coursePeriod;
	}
	public Long getExamId() {
		return examId;
	}
	public void setExamId(Long examId) {
		this.examId = examId;
	}
	public String getExamName() {
		return examName;
	}
	public void setExamName(String examName) {
		this.examName = examName;
	}
	public Long getStudentId() {
		return studentId;
	}
	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}
	public Long getStudyPlanId() {
		return studyPlanId;
	}
	public void setStudyPlanId(Long studyPlanId) {
		this.studyPlanId = studyPlanId;
	}
	public String getStatus() {
		if("passed".equals(status)){
			return "已通过考试";
		}else if("notpassed".equals(status)){
			return "未通过考试";
		}else{
			return "未提交答卷";
		}
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getSubmitTime() {
		return submitTime;
	}
	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}
	public Integer getExamScore() {
		return examScore;
	}
	public void setExamScore(Integer examScore) {
		this.examScore = examScore;
	}
	
}
